package haizhi.fruitmall.pojo.form;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Date: 2017/10/10 12:14
 * @Author: Richard Zane
 * @Detail:
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class GoodsForm extends BaseForm {

    private Long goodsId;

    private String brandName;

    private Integer totalSales;

    private Integer commentTimes;

    private Boolean isSpecial;

    private Long unitId;

    private Integer categoryId;

    public GoodsForm() { }

    public GoodsForm(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public GoodsForm(Boolean isSpecial) {
        this.isSpecial = isSpecial;
    }

}
